home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 8
/
FM Towns Free Software Collection 8.iso
/
fb386
/
eiyoukei
/
gunbdump.bas
< prev
next >
Wrap
BASIC Source File
|
1994-06-01
|
2KB
|
66 lines
10 'SAVE "GUNBDUMP.BAS",A
20 ' 91.02.20
30 '
40 OPEN "GUNBETU.DAT" FOR INPUT AS #1
50 C6=7:CLS:CONSOLE C6,15,0:COLOR 7
60 LOCATE 0,0
70 FOR I=1 TO 5:LINE INPUT #1,A$:PRINT A$;
80 IF I<5 THEN PRINT
90 NEXT I
99 PRINT
100 PRINT "0 1 2 3 4 5 6 "
110 PRINT "12345678901234567890123456789012345678901234567890123456789012345678";
120 LOCATE 0,C6
130 WHILE NOT EOF(1)
140 LINE INPUT #1,A$:PRINT A$
150 X$=INKEY$:IF X$="" THEN 150
160 WEND:END
10000 'SAVE "GUNBSEL.BAS",A
10010 ' 91.02.20
10020 '
10030 DIM GU$(15)
10040 OPEN "GUNBETU.DAT" FOR INPUT AS #1
10050 CLS:CONSOLE 6,15,0:COLOR 7
10060 LOCATE 0,0
10070 FOR I=1 TO 5:LINE INPUT #1,A$:PRINT A$
10080 NEXT I
10090 LOCATE 0,6
10100 WHILE NOT EOF(1)
10110 LINE INPUT #1,A$
10120 IF ASC(A$)=ASC("*") THEN 10160
10130 PRINT A$
10140 X$=INKEY$:IF X$="" THEN 10140
10150 IF X$=" " THEN 10170
10160 WEND:STOP
10170 RESTORE 10230:M=1
10180 FOR I=1 TO 15
10190 READ N
10200 GU$(I)=MID$(A$,M,N):M=M+N+1':PRINT GU$(I)+",";
10210 NEXT I
10220 CLOSE #1:GOTO 20000
10230 DATA 7,2,8,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3
20000 'SAVE "EIYSSEL.BAS",A
20010 ' 91.02.20
20020 '
20030 DIM SE$(15)
20040 OPEN "EIYSHYO.DAT" FOR INPUT AS #1
20050 CLS:CONSOLE 6,15,0:COLOR 7
20060 LOCATE 0,0
20070 FOR I=1 TO 5:LINE INPUT #1,A$:PRINT A$
20080 NEXT I
20090 LOCATE 0,6
20100 WHILE NOT EOF(1)
20110 LINE INPUT #1,A$
20120 IF ASC(A$)=ASC("*") THEN 20160
20130 PRINT A$
20140 X$=INKEY$:IF X$="" THEN 20140
20150 IF X$=" " THEN 20170
20160 WEND:STOP
20170 RESTORE 20230:M=1
20180 FOR I=1 TO 13
20190 READ N
20200 SE$(I)=MID$(A$,M,N):M=M+N+1:PRINT SE$(I)+",";
20210 NEXT I
20220 CLOSE #1:END
20230 DATA 7,2,8,5,3,4,3,5,4,4,3,3,4